<?php

class CashAccountStatementPageLink extends Extension {
	function getCashAccountStatement(){
        $page = CashAccountStatementPage::get()->find('ClassName', 'CashAccountStatementPage');
        if($page) return $page;
    }
    
    function getCashAccountStatementLink() {
        $page = $this->getCashAccountStatement();
        if($page) return $page->Link();
    }
}
